<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix='sec' uri='http://www.springframework.org/security/tags'%>
<head>
	<script type="text/javascript" src="scripts/boot.js"></script>
</head>

<body>
	<form id="form1" method="post">
        <div style="padding-left:30px;padding-bottom:10px;">
            <table style="table-layout:fixed;" cellspacing="0" cellpadding="5">
            	<tr>
            		<td style="width:100px;">名称：</td>
                    <td style="width:100px;">    
                        <input name="name" class="mini-textbox" enabled="false" style="width: 130px" />
                    </td>
            	</tr>
            	<tr>
            		<td style="width:20px;">地址：</td>
                    <td style="width:100px;">    
                        <input name="address" class="mini-textbox" enabled="false" style="width: 130px" />
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">电子邮件：</td>
                    <td style="width:100px;">    
                        <input name="email" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
               		<td style="width:20px;">传真：</td>
                    <td style="width:100px;">    
                        <input name="fax" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">联系人：</td>
                    <td style="width:100px;">    
                        <input name="linkMan" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">电话：</td>
                    <td style="width:100px;">    
                        <input name="phoneNum" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">邮编：</td>
                    <td style="width:100px;">    
                        <input name="postCode" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">网址：</td>
                    <td style="width:100px;">    
                        <input name="url" class="mini-textbox" enabled="false" style="width: 130px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:20px;">备注：</td>
                    <td colspan="3">    
                        <input name="description" class="mini-textarea" enabled="false" style="width:200px;" />
                    </td>
                </tr>
            </table>
            <input id="text1"  name="id" class="mini-hidden" />
        </div>
        <div style="text-align:center;padding:10px;">               
            <a class="mini-button" onclick="onCancel" style="width:60px;">关闭</a>       
        </div>        
    </form>
</body>

<script type="text/javascript">
	mini.parse();
	var form = new mini.Form("form1");
	
	function SetData(data){
	     data = mini.clone(data);
	     form.setData(data.row);
	}
	
	function CloseWindow(action) {
        if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);
        else window.close();            
    }
	
	function onCancel(e) {
        CloseWindow("cancel");
    }

</script>